/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Bind;

import javax.swing.JTextField;

/**
 *
 * @author Caio Valentim
 */
public class MetodoString {
    static  JTextField text;
    
    public  MetodoString(JTextField field){
        text = field;
    }
    
    public static String getMetodo(){
        return text.getText();
    }
    
    public static void setMetodo (Object obj){
       text.setText(obj.toString());  
    }

}
